export interface PostEntity {
  id: number;
  title: string;
  summary?: string;
  body: string;
}
export interface IQueryParams {
  name: string;
  age: number;
}
export interface IPaginateMeta {
  total: number;
  prev: number;
  next: number;
}

export interface PaginateReturn<T> {
  paginateMeta: IPaginateMeta;
  items: T[];
}
export interface IPagination {
  pageSize: number;
  pageNumber: number;
}

export type SearchType = 'like' | 'against' | 'elastic';

export interface ContentConfig {
  searchType?: SearchType;
}
